﻿using IceDog.WebApi.ConventionalRoute.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IceDog.WebApi.ConventionalRoute.DBData
{
    /// <summary>
    /// 商店上下文
    /// </summary>
    public class ShopContext : DbContext
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="options"></param>
        public ShopContext(DbContextOptions<ShopContext> options): base(options){}
        /// <summary>
        /// 订单
        /// </summary>
        public DbSet<Order> Orders { get; set; }
    }
}
